package cn.iocoder.yudao.module.hs.controller.admin.trayscanrecord.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 单号托盘点亮状态记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TrayScanRecordPageReqVO extends PageParam {

    @Schema(description = "单号ID", example = "25175")
    private Long orderId;

    @Schema(description = "单号类型：ENTRY-入库单；RECEIVE-收货单", example = "2")
    private String orderType;

    @Schema(description = "托盘编码")
    private String trayCode;

    @Schema(description = "是否点亮：1-点亮；0-未点亮", example = "2")
    private Integer status;

    @Schema(description = "点亮时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] lightTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}